import request from '@/request'
import type { ApiResponse } from '@/common/requestType'

export const loginOut = (): Promise<ApiResponse<string>> => {
  return request({
    url: '/user/logout',
    method: 'POST'
  })
}
